package com.iMusic.businessLogicLayer;

public class Payment {

	String method = null;
	String cardNumber = null;
	String expiryDate = null;
	String validationNumber = null;
	String nameOnCard = null;
	Float total = (float) 0.0;
	String cardFlag = null;
	
	public Payment(String cardNumber, String method, String expiryDate, String validationNumber, String nameOnCard, Float total, String cardFlag) {
		this.method = method;
		this.cardNumber = cardNumber;
		this.expiryDate = expiryDate;
		this.validationNumber = validationNumber;
		this.nameOnCard = nameOnCard;
		this.total = total;
		this.cardFlag = cardFlag;
	}
	
	
	public String getMethod() {
		return method;
	}
	public void setMethod(String method) {
		this.method = method;
	}
	public String getCardNumber() {
		return cardNumber;
	}
	public void setCardNumber(String cardNumber) {
		this.cardNumber = cardNumber;
	}
	public String getExpiryDate() {
		return expiryDate;
	}
	public void setExpiryDate(String expiryDate) {
		this.expiryDate = expiryDate;
	}
	public String getValidationNumber() {
		return validationNumber;
	}
	public void setValidationNumber(String validationNumber) {
		this.validationNumber = validationNumber;
	}
	public String getNameOnCard() {
		return nameOnCard;
	}
	public void setNameOnCard(String nameOnCard) {
		this.nameOnCard = nameOnCard;
	}


	public Float getTotal() {
		return total;
	}


	public void setTotal(Float total) {
		this.total = total;
	}


	public String getCardFlag() {
		return cardFlag;
	}


	public void setCardFlag(String cardFlag) {
		this.cardFlag = cardFlag;
	}
	
}
